package com.sz.web.account.entity;

import com.sz.web.common.entity.BaseEntity;

import javax.persistence.Table;

/**
 * 角色
 */
@Table(name = "account_role_function")
public class AccountRoleFunction extends BaseEntity {


    private static final long serialVersionUID = -7644169230390592199L;

    private Integer roleId = 0;

    private Integer functionId = 0;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getFunctionId() {
        return functionId;
    }

    public void setFunctionId(Integer functionId) {
        this.functionId = functionId;
    }

    @Override
    public String toString() {
        return "AccountRoleFunction{" +
                "roleId=" + roleId +
                ", functionId=" + functionId +
                '}';
    }
}
